package cn.xuhang.nav.dao;

import org.springframework.stereotype.Repository;

import cn.xuhang.nav.domain.NavItem;

@Repository("navDao")
public class NavItemDao extends DaoImpl<NavItem> {
	public boolean URLexist(String url){
        Integer count = this.sqlSession.selectOne("cn.xuhang.nav.mapper.queryURLExist");
        return count==0?false:true;
    }
}
